package com.yich.dingserver;

import android.graphics.Path;

/**
 * 描述：
 * 时间： 2019/1/17.
 * 创建： 张继良
 */

public class Gesture {

    /* com.alibaba.android.rimet:id/webview_frame 打卡页面ID
       com.alibaba.android.rimet:id/tv_vertical_3
       com.alibaba.android.rimet:id/session_item
     */
    /*
        电话 com.android.incallui:id/name

        包名 com.android.incallui
     */

    public static final int WORK = 1;
    public static final int TOUP = 2;
    public static final int DAKA = 3;

    public static Path getPath(int x) {
        Path path = new Path();
        switch (x) {
            case WORK:
                path.moveTo(550, 1835);//140 1448  536 1231 525 1250
                path.lineTo(550, 1834);//140 1449
                break;
            case TOUP:
                path.moveTo(300, 900);
                path.lineTo(300, 500);
                break;
            case DAKA:
                path.moveTo(525, 1250);//140 1448  536 1231 525 1250
                path.lineTo(525, 1251);//140 1449
                break;
        }
        return path;
    }
}
